home *** CD-ROM | disk | FTP | other *** search
/ BCI NET 2 / BCI NET 2.iso / archives / programming / libraries / curses210.lha / src / protos.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-02-22  |  8.7 KB  |  603 lines

  1. /* Prototypes for functions defined in
  2. wclrtobot.c
  3.  */
  4.  
  5. int wclrtobot(WINDOW * );
  6.  
  7. /* Prototypes for functions defined in
  8. flushinp.c
  9.  */
  10.  
  11. int flushinp(void);
  12.  
  13. /* Prototypes for functions defined in
  14. wgetstr.c
  15.  */
  16.  
  17. int wgetstr(WINDOW * , char * );
  18.  
  19. /* Prototypes for functions defined in
  20. subwin.c
  21.  */
  22.  
  23. WINDOW * subwin(WINDOW * , unsigned int , unsigned int , unsigned int , unsigned int );
  24.  
  25. /* Prototypes for functions defined in
  26. mvprintw.c
  27.  */
  28.  
  29. int mvprintw(short , short , char * , ...);
  30.  
  31. /* Prototypes for functions defined in
  32. wscanw.c
  33.  */
  34.  
  35. int wscanw(WINDOW * , char * , char * , char * , char * , char * , char * , char * , char * , char * , char * , char * );
  36.  
  37. /* Prototypes for functions defined in
  38. scanw.c
  39.  */
  40.  
  41. int scanw(char * , char * , char * , char * , char * , char * , char * , char * , char * , char * , char * );
  42.  
  43. /* Prototypes for functions defined in
  44. mvwscanw.c
  45.  */
  46.  
  47. int mvwscanw(WINDOW * , short , short , char * , char * , char * , char * , char * , char * , char * , char * , char * , char * , char * );
  48.  
  49. /* Prototypes for functions defined in
  50. mvscanw.c
  51.  */
  52.  
  53. int mvscanw(short , short , char * , char * , char * , char * , char * , char * , char * , char * , char * , char * , char * );
  54.  
  55. /* Prototypes for functions defined in
  56. printw.c
  57.  */
  58.  
  59. int printw(char * , ...);
  60.  
  61. /* Prototypes for functions defined in
  62. newwin.c
  63.  */
  64.  
  65. WINDOW * newwin(unsigned int , unsigned int , unsigned int , unsigned int );
  66.  
  67. /* Prototypes for functions defined in
  68. _creatwin.c
  69.  */
  70.  
  71. WINDOW * _CreatWindow(int , int , int , int , WINDOW * );
  72.  
  73. /* Prototypes for functions defined in
  74. touchwin.c
  75.  */
  76.  
  77. int touchwin(WINDOW * );
  78.  
  79. /* Prototypes for functions defined in
  80. delwin.c
  81.  */
  82.  
  83. int delwin(WINDOW * );
  84.  
  85. /* Prototypes for functions defined in
  86. mvwin.c
  87.  */
  88.  
  89. int mvwin(WINDOW * , short , short );
  90.  
  91. /* Prototypes for functions defined in
  92. scroll.c
  93.  */
  94.  
  95. int scroll(WINDOW * );
  96.  
  97. /* Prototypes for functions defined in
  98. wsetscrreg.c
  99.  */
  100.  
  101. int wsetscrreg(WINDOW * , short , short );
  102.  
  103. /* Prototypes for functions defined in
  104. _scroll.c
  105.  */
  106.  
  107. int _Scroll(WINDOW * , int , int , int );
  108.  
  109. /* Prototypes for functions defined in
  110. scrollok.c
  111.  */
  112.  
  113. int scrollok(WINDOW * , int );
  114.  
  115. /* Prototypes for functions defined in
  116. wnoutrefresh.c
  117.  */
  118.  
  119. int wnoutrefresh(WINDOW * );
  120.  
  121. /* Prototypes for functions defined in
  122. doupdate.c
  123.  */
  124.  
  125. int doupdate(void);
  126.  
  127. /* Prototypes for functions defined in
  128. echo.c
  129.  */
  130.  
  131. int echo(void);
  132.  
  133. /* Prototypes for functions defined in
  134. noecho.c
  135.  */
  136.  
  137. int noecho(void);
  138.  
  139. /* Prototypes for functions defined in
  140. beep.c
  141.  */
  142.  
  143. int beep(void);
  144.  
  145. /* Prototypes for functions defined in
  146. wrefresh.c
  147.  */
  148.  
  149. int wrefresh(WINDOW * );
  150.  
  151. /* Prototypes for functions defined in
  152. initscr.c
  153.  */
  154.  
  155. int initscr(void);
  156.  
  157. /* Prototypes for functions defined in
  158. wgetch.c
  159.  */
  160.  
  161. int wgetch(WINDOW * );
  162.  
  163. /* Prototypes for functions defined in
  164. wstandout.c
  165.  */
  166.  
  167. int wstandout(WINDOW * );
  168.  
  169. /* Prototypes for functions defined in
  170. keypad.c
  171.  */
  172.  
  173. int keypad(WINDOW * , char );
  174.  
  175. /* Prototypes for functions defined in
  176. flash.c
  177.  */
  178.  
  179. int flash(void);
  180.  
  181. /* Prototypes for functions defined in
  182. initcolour.c
  183.  */
  184.  
  185. int init_color(WORD , UWORD , UWORD , UWORD );
  186.  
  187. /* Prototypes for functions defined in
  188. _data.c
  189.  */
  190.  
  191. extern struct IntuitionBase * IntuitionBase;
  192.  
  193. extern struct GfxBase * GfxBase;
  194.  
  195. extern struct Library * ConsoleDevice;
  196.  
  197. extern struct IOStdReq ioreq;
  198.  
  199. extern struct Screen * _CursesScreen;
  200.  
  201. extern struct Window * _CursesWindow;
  202.  
  203. extern struct MsgPort * _CursesMsgPort;
  204.  
  205. extern struct RastPort * _RPort;
  206.  
  207. extern struct ViewPort * _VPort;
  208.  
  209. extern BPTR _ifh;
  210.  
  211. extern BYTEBITS _CursesFlags;
  212.  
  213. extern int _CursesType;
  214.  
  215. extern short _CursorCol;
  216.  
  217. extern short _CursorLine;
  218.  
  219. extern short _LCursorLine;
  220.  
  221. extern short _LCursorCol;
  222.  
  223. extern struct RefreshElement * _HeadRefreshList;
  224.  
  225. extern WINDOW * stdscr;
  226.  
  227. extern WINDOW * curscr;
  228.  
  229. extern int LINES;
  230.  
  231. extern int COLS;
  232.  
  233. extern int DEPTH;
  234.  
  235. extern int _FontHeight;
  236.  
  237. extern int _FontWidth;
  238.  
  239. extern int _FontBase;
  240.  
  241. extern unsigned char _GetchNChars;
  242.  
  243. extern unsigned char _GetchBufPos;
  244.  
  245. extern char * __area;
  246.  
  247. extern char * __capary[128];
  248.  
  249. extern int __no_caps;
  250.  
  251. extern char * _clstr;
  252.  
  253. extern char * _cmstr;
  254.  
  255. /* Prototypes for functions defined in
  256. startcolour.c
  257.  */
  258.  
  259. int start_color(void);
  260.  
  261. /* Prototypes for functions defined in
  262. hascolours.c
  263.  */
  264.  
  265. int has_colors(void);
  266.  
  267. /* Prototypes for functions defined in
  268. waddstr.c
  269.  */
  270.  
  271. int waddstr(WINDOW * , char * );
  272.  
  273. /* Prototypes for functions defined in
  274. waddch.c
  275.  */
  276.  
  277. int waddch(WINDOW * , char );
  278.  
  279. /* Prototypes for functions defined in
  280. winsch.c
  281.  */
  282.  
  283. int winsch(WINDOW * , char );
  284.  
  285. /* Prototypes for functions defined in
  286. wdelch.c
  287.  */
  288.  
  289. int wdelch(WINDOW * );
  290.  
  291. /* Prototypes for functions defined in
  292. wclear.c
  293.  */
  294.  
  295. int wclear(WINDOW * );
  296.  
  297. /* Prototypes for functions defined in
  298. werase.c
  299.  */
  300.  
  301. int werase(WINDOW * );
  302.  
  303. /* Prototypes for functions defined in
  304. clearok.c
  305.  */
  306.  
  307. int clearok(WINDOW * , int );
  308.  
  309. /* Prototypes for functions defined in
  310. wclrtoeol.c
  311.  */
  312.  
  313. int wclrtoeol(WINDOW * );
  314.  
  315. /* Prototypes for functions defined in
  316. wstandend.c
  317.  */
  318.  
  319. int wstandend(WINDOW * );
  320.  
  321. /* Prototypes for functions defined in
  322. wattrset.c
  323.  */
  324.  
  325. int wattrset(WINDOW * , UBYTE );
  326.  
  327. /* Prototypes for functions defined in
  328. wattron.c
  329.  */
  330.  
  331. int wattron(WINDOW * , UBYTE );
  332.  
  333. /* Prototypes for functions defined in
  334. wattroff.c
  335.  */
  336.  
  337. int wattroff(WINDOW * , UBYTE );
  338.  
  339. /* Prototypes for functions defined in
  340. cbreak.c
  341.  */
  342.  
  343. int cbreak(void);
  344.  
  345. /* Prototypes for functions defined in
  346. nocbreak.c
  347.  */
  348.  
  349. int nocbreak(void);
  350.  
  351. /* Prototypes for functions defined in
  352. idlok.c
  353.  */
  354.  
  355. int idlok(WINDOW * , int );
  356.  
  357. /* Prototypes for functions defined in
  358. winsertln.c
  359.  */
  360.  
  361. int winsertln(WINDOW * );
  362.  
  363. /* Prototypes for functions defined in
  364. wdeleteln.c
  365.  */
  366.  
  367. int wdeleteln(WINDOW * );
  368.  
  369. /* Prototypes for functions defined in
  370. nodelay.c
  371.  */
  372.  
  373. int nodelay(WINDOW * , int );
  374.  
  375. /* Prototypes for functions defined in
  376. resetty.c
  377.  */
  378.  
  379. int resetty(void);
  380.  
  381. /* Prototypes for functions defined in
  382. savetty.c
  383.  */
  384.  
  385. int savetty(void);
  386.  
  387. /* Prototypes for functions defined in
  388. resetterm.c
  389.  */
  390.  
  391. int resetterm(void);
  392.  
  393. /* Prototypes for functions defined in
  394. fixterm.c
  395.  */
  396.  
  397. int fixterm(void);
  398.  
  399. /* Prototypes for functions defined in
  400. saveterm.c
  401.  */
  402.  
  403. int saveterm(void);
  404.  
  405. /* Prototypes for functions defined in
  406. baudrate.c
  407.  */
  408.  
  409. int baudrate(void);
  410.  
  411. /* Prototypes for functions defined in
  412. nl.c
  413.  */
  414.  
  415. int nl(void);
  416.  
  417. /* Prototypes for functions defined in
  418. nonl.c
  419.  */
  420.  
  421. int nonl(void);
  422.  
  423. /* Prototypes for functions defined in
  424. box.c
  425.  */
  426.  
  427. int box(WINDOW * , char , char );
  428.  
  429. /* Prototypes for functions defined in
  430. mvwprintw.c
  431.  */
  432.  
  433. int mvwprintw(WINDOW * , short , short , char * , ...);
  434.  
  435. /* Prototypes for functions defined in
  436. _togcur.c
  437.  */
  438.  
  439. void _ToggleCursor(int , int );
  440.  
  441. /* Prototypes for functions defined in
  442. wmove.c
  443.  */
  444.  
  445. int wmove(WINDOW * , short , short );
  446.  
  447. /* Prototypes for functions defined in
  448. _zapcur.c
  449.  */
  450.  
  451. void _ZapCursor(void);
  452.  
  453. /* Prototypes for functions defined in
  454. _drawcur.c
  455.  */
  456.  
  457. void _DrawCursor(void);
  458.  
  459. /* Prototypes for functions defined in
  460. _exit.c
  461.  */
  462.  
  463. void _CleanExit(int );
  464.  
  465. /* Prototypes for functions defined in
  466. endwin.c
  467.  */
  468.  
  469. int endwin(void);
  470.  
  471. /* Prototypes for functions defined in
  472. mvcur.c
  473.  */
  474.  
  475. int mvcur(int , int , int , int );
  476.  
  477. /* Prototypes for functions defined in
  478. wprintw.c
  479.  */
  480.  
  481. int wprintw(WINDOW * , char * , ...);
  482.  
  483. /* Prototypes for functions defined in
  484. leaveok.c
  485.  */
  486.  
  487. int leaveok(WINDOW * , int );
  488.  
  489. /* Prototypes for functions defined in
  490. winch.c
  491.  */
  492.  
  493. int winch(WINDOW * );
  494.  
  495. /* Prototypes for functions defined in
  496. _doecho.c
  497.  */
  498.  
  499. void _DoEcho(WINDOW * , char );
  500.  
  501. /* Prototypes for functions defined in
  502. _cleanup.c
  503.  */
  504.  
  505. void _CleanUp(void);
  506.  
  507. /* Prototypes for functions defined in
  508. _ansi.c
  509.  */
  510.  
  511. void _ANSIInit(void);
  512.  
  513. void _ANSIClear(void);
  514.  
  515. void _ANSIMove(int , int );
  516.  
  517. void _ANSIFlash(void);
  518.  
  519. void _ANSIClearRect(int , int , int , int );
  520.  
  521. long _RawMode(BPTR );
  522.  
  523. long _CanonMode(BPTR );
  524.  
  525. /* Prototypes for functions defined in
  526. gettmode.c
  527.  */
  528.  
  529. int gettmode(void);
  530.  
  531. /* Prototypes for functions defined in
  532. longname.c
  533.  */
  534.  
  535. char * longname(char * , char * );
  536.  
  537. /* Prototypes for functions defined in
  538. overlay.c
  539.  */
  540.  
  541. int overlay(WINDOW * , WINDOW * );
  542.  
  543. /* Prototypes for functions defined in
  544. overwrite.c
  545.  */
  546.  
  547. int overwrite(WINDOW * , WINDOW * );
  548.  
  549. /* Prototypes for functions defined in
  550. _mergewin.c
  551.  */
  552.  
  553. int _mergewin(WINDOW * , WINDOW * , char );
  554.  
  555. /* Prototypes for functions defined in
  556. setterm.c
  557.  */
  558.  
  559. int setterm(char * );
  560.  
  561. /* Prototypes for functions defined in
  562. unctrl.c
  563.  */
  564.  
  565. char * unctrl(char );
  566.  
  567. /* Prototypes for functions defined in
  568. tgetent.c
  569.  */
  570.  
  571. int tgetent(char * , char * );
  572.  
  573. /* Prototypes for functions defined in
  574. tgetstr.c
  575.  */
  576.  
  577. char * tgetstr(char * , char ** );
  578.  
  579. /* Prototypes for functions defined in
  580. tputs.c
  581.  */
  582.  
  583. int tputs(char * , int , int (* )(char ));
  584.  
  585. /* Prototypes for functions defined in
  586. tgoto.c
  587.  */
  588.  
  589. char * tgoto(char * , int , int );
  590.  
  591. /* Prototypes for functions defined in
  592. tgetnum.c
  593.  */
  594.  
  595. int tgetnum(char * );
  596.  
  597. /* Prototypes for functions defined in
  598. tgetflag.c
  599.  */
  600.  
  601. int tgetflag(char * );
  602.  
  603.